package org.grc.app.z_project.z_sample.aspect;

import java.lang.reflect.Method;

import org.grc.app.z_project.z_framework.annotation.Aspect;
import org.grc.app.z_project.z_framework.annotation.Service;
import org.grc.app.z_project.z_framework.proxy.AspectProxy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Aspect(Service.class)
public class ServiceAspect1 extends AspectProxy {

	private static final Logger LOGGER = LoggerFactory.getLogger(ServiceAspect1.class);
	
	@Override
	public void before(Class<?> clazz, Method method, Object[] params) throws Throwable {
		LOGGER.info(" ServiceAspect1 before");
	}
	
	@Override
	public void after(Class<?> clazz, Method method, Object[] params) throws Throwable {
		LOGGER.info(" ServiceAspect1 after");
	}
}
